package test.aat.files;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class DelJavaCommMain {

	public static void main(String[] args) throws Exception {
		File file=new File("F:\\我的桌面\\Rocket.java");
		BufferedReader br = new BufferedReader(new FileReader(file));
		String str=null;
		while((str=br.readLine())!=null){
			int i1=str.indexOf("//");
			if(i1>=0){
				str  = str.substring(0, i1);
			}
			int i2=str.indexOf("/*");
			System.out.println(str+"  "+i2);
		}
		br.close();
	}

}
